/**
 * 存在store下类型
 */
export interface GlobalState {
  isCollapse: boolean; // 折叠菜单
  tabs: boolean; // 标签页
  theme: string; //主题
}

/* AuthState */
export interface AuthState {
  userInfo: any; //用户信息
  token: string;
  authMenuList: Menu.MenuOptions[]; //菜单列表
  fiscalYear: string | number; //业务年度
}

/* KeepAliveState */
export interface KeepAliveState {
  keepAliveName: string[];
}

/* tabsMenuProps */
export interface TabsMenuProps {
  icon: string;
  title: string;
  path: string;
  name: string;
  close: boolean;
  isKeepAlive: boolean;
}

/* TabsState */
export interface TabsState {
  tabsMenuList: TabsMenuProps[];
}

interface INavList {
  areaCode: string;
  areaName: string;
}
/* 监测预警 */
export interface MonitorState {
  navList: INavList[];
  areaObj: {};
  areaCityObj: {};
  pageParams: {};
  areaCityArr: [];
}
